﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace  DongleManage.Model.EssentialData
{

		
	/// <summary>
	///  表'StandardDetail'的实体表示.
	/// </summary>
	/// <remarks>
	/// 该实体由工具生成，尽量不要手动修改
	/// </remarks>
	[DataContract]
	public partial class StandardDetailEntity 
	{
		#region 属性、变量声明
		#region 主属性 --对应数据表主键
		/// <summary>			
		/// TransactionNumber : 
		/// </summary>
		/// <remarks>表StandardDetail主键</remarks>
		[DisplayName("")]
		[DataMember]
		public Int32 TransactionNumber
        {
            get;
            set;
        }
		#endregion
		
		#region 属性
		
		/// <summary>
		/// StandardNumber : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 StandardNumber
        {
            get;
            set;
        }
		
		/// <summary>
		/// Gender : 0：男 1：女 2：不定
		/// </summary>
        [DisplayName("0：男 1：女 2：不定")]
        [Required(ErrorMessage = "0：男 1：女 2：不定不允许为空!")]
        
		[DataMember]
		public Int32 Gender
        {
            get;
            set;
        }
		
		/// <summary>
		/// AgeMin : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 AgeMin
        {
            get;
            set;
        }
		
		/// <summary>
		/// AgeMax : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 AgeMax
        {
            get;
            set;
        }
		
		/// <summary>
		/// ValueMin : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Decimal ValueMin
        {
            get;
            set;
        }
		
		/// <summary>
		/// ValueMax : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Decimal ValueMax
        {
            get;
            set;
        }
		
		/// <summary>
		/// InUserID : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 InUserID
        {
            get;
            set;
        }
		
		/// <summary>
		/// InDate : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public DateTime InDate
        {
            get;
            set;
        }
		
		/// <summary>
		/// EditUserID : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 EditUserID
        {
            get;
            set;
        }
		
		/// <summary>
		/// EditDate : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public DateTime? EditDate
        {
            get;
            set;
        }
		#endregion

		#endregion 属性、变量声明
		
	    public StandardDetailEntity()
        {
            TransactionNumber = (int)0;
            StandardNumber = (int)0;
            Gender = (int)0;
            AgeMin = (int)0;
            AgeMax = (int)0;
            ValueMin = 0.0m;
            ValueMax = 0.0m;
            InUserID = (int)0;
            InDate = DateTime.Now;
            EditUserID = (int)0;
            EditDate = null;
        }
	}
}
